createGame

  • function
 

Sets properties on the [bitballs/components/tournament/details.ViewModel.prototype.game game] model then persists it to the server. Once the "save" request resolves a new Game instance is created and assigned to [bitballs/components/tournament/details.ViewModel.prototype.game game].

details.createGame(ev)

Sets properties on the [bitballs/components/tournament/details.ViewModel.prototype.game game] model then persists it to the server. Once the "save" request resolves a new Game instance is created and assigned to [bitballs/components/tournament/details.ViewModel.prototype.game game].

Parameters

  1. ev {Event}Optional

    A DOM Level 2 event that preventDefault will be called on.